package com.yang.chen.oa.service;

import com.yang.chen.oa.domain.TbJob;
import com.yang.chen.oa.vo.PageBean;

import java.util.List;

public interface JobService {
    public PageBean<TbJob> showDept(Integer pageNumber, Integer pageSize, String name);

    public boolean addJob(TbJob job);

    public boolean deleteById(Integer id);

    public boolean deleteBybatch(Integer[] ids);

    public TbJob findJobById(Integer id);

    public boolean udpateJob(TbJob job);

    List<TbJob> selectAllJob();
}
